#ifndef _FIGHT_H_
#define _FIGHT_H_

#include <string>
#include <vector>
#include <boost/property_tree/ptree.hpp>

#include "include/GlobalGameObj.h"

using namespace std;
using namespace boost::property_tree;

#define MAX_FIGHT_TURN 20

#define FIGHT_RESULT_CONTINUE 0
#define FIGHT_RESULT_TEAM1_WIN 1
#define FIGHT_RESULT_TEAM2_WIN 2
#define FIGHT_RESULT_NO_WIN 3


class Fight
{
public:

	struct FightInfo
	{
		int pos;
		int type;
		int fighter_id;
		int hp;
		int dander;
		string skill_id_str;
		string buffer_str;
		string tmp_buffer_str;
		string buffer_start_time_str;
		string tmp_buffer_start_time_str;
	};
};

#endif
